package com.manage.po;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


@Entity
@Table(name = "room")
public class Room implements Serializable{
	
	private static final long serialVersionUID = -8010135537569121725L;
	
	@Id
	@Column(name = "roomid", unique = true, nullable = false)
	private String roomid;
	@Column(name = "roomname", nullable = false)
	private String roomname;
	@Column(name = "member", nullable = false)
	private String member;
	@Column(name = "roomleader", nullable = false)
	private String roomleader;
	@Column(name = "leaderphone", nullable = true)
	private String leaderphone;
	@Column(name = "operator", nullable = false)
	private String operator;
	

	public String getRoomid() {
		return roomid;
	}

	public void setRoomid(String roomid) {
		this.roomid = roomid;
	}

	public String getRoomname() {
		return roomname;
	}

	public void setRoomname(String roomname) {
		this.roomname = roomname;
	}



	public String getMember() {
		return member;
	}

	public void setMember(String member) {
		this.member = member;
	}

	public String getRoomleader() {
		return roomleader;
	}

	public void setRoomleader(String roomleader) {
		this.roomleader = roomleader;
	}

	public String getLeaderphone() {
		return leaderphone;
	}

	public void setLeaderphone(String leaderphone) {
		this.leaderphone = leaderphone;
	}

	public String getOperator() {
		return operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	////////////////////////////////////////////////
	
}
